//
//  SimpleMessage.h
//  SanYiTeaching
//
//  Created by ChenHao on 2019/8/10.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import <RongIMLib/RongIMLib.h>


#define RCLocalMessageTypeIdentifier @"SY:SimpleMsg"
/**
 * 文本消息类定义
 */
@interface SimpleMessage : RCMessageContent <NSCoding,RCMessageContentView>
/** 文本消息内容 */
@property(nonatomic, strong) NSString* content;

/**
 * 附加信息
 */
@property(nonatomic, strong) NSString* extra;

/**
 * 根据参数创建文本消息对象
 * @param content 文本消息内容
 */
+(instancetype)messageWithContent:(NSString *)content;

@end


